export default {
    data() {
        return {

        };
    },
    onShareAppMessage(res) {
        //发送给朋友
        return {
            title: "每一口,感觉都不同。"+ uni.getStorageSync('data').user.id,
            path: "/pages/index/index?id=" + uni.getStorageSync('data').user.id,
            imageUrl: "https://sprtcar.oss-cn-chengdu.aliyuncs.com/home/538bcbaa4c375377fa9e6e271977d3c.png", //显示图片长宽比是 5:4
            success: function(res) {

                if (res.errMsg == "shareAppMessage:ok") {

                }
            },
        };
    },
    // onShareTimeline(res) {
    // 	
    // 	return {
    // 		title: "考拉妈妈邀请你赚钱, 邀请码:" + uni.getStorageSync("user_invitestr"), 
    // 		path: "/pages/zhixun/zhixun?user_id=" + uni.getStorageSync("id"), 
    // 		imageUrl: "https://s3.ax1x.com/2021/01/04/sPoBfH.jpg", 
    // 		success: function(res) {
    // 			
    // 			if (res.errMsg == "shareAppMessage:ok") {
    // 				console.log('111111111111 :>> ', 111111111111);
    // 			}
    // 		},
    // 	};
    // },
};
